package com.example.makerspace.controller.largeScreen;


import com.example.makerspace.dao.DemandDAO;
import com.example.makerspace.dto.DemandDTO;
import com.example.makerspace.dto.Result;
import com.example.makerspace.dto.robotDTO.ImsingleDTO;
import com.example.makerspace.service.ApplicationService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

@Controller
@ResponseBody
@RequestMapping("/api/largeScreen")
@Api(tags = "大屏模块")
public class LargeScreenController {

    @Resource
    private ApplicationService applicationService;

    @ApiOperation(value="用户注册总数量折线图接口",notes ="用户注册总数量折线图接口说明")
    @GetMapping("/userEnroll")
    public Result userEnroll() {
        return  applicationService.userEnroll();
    }

    @ApiOperation(value="企业和个人实名认证数据接口",notes ="企业和个人实名认证数据说明")
    @GetMapping("/authenticationData")
    public Result authenticationData() {
        return  applicationService.authenticationData();
    }

    @ApiOperation(value="赛题报名数据接口",notes ="赛题报名数据接口说明")
    @GetMapping("/questionsRegistrationData")
    public Result questionsRegistrationData() {
        return  applicationService.questionsRegistrationData();
    }

    @ApiOperation(value="开发市场数据接口",notes ="开发市场数据接口说明")
    @GetMapping("/openMarketData")
    public Result openMarketData() {
        return  applicationService.openMarketData();
    }
    @ApiOperation(value="展示所有数据接口",notes ="展示所有数据接口说明")
    @GetMapping("/productData")
    public Result productData() {
        return  applicationService.productData();
    }

    @ApiOperation(value="用户注册总数量接口",notes ="用户注册总数量接口说明")
    @GetMapping("/userEnrollAllData")
    public Result userEnrollAllData() {
        return  applicationService.userEnrollAllData();
    }

    @ApiOperation(value="用户注册明细接口",notes ="用户注册明细接口说明")
    @GetMapping("/userEnrollDetailData")
    public Result userEnrollDetailData() {
        return  applicationService.userEnrollDetailData();
    }
    @ApiOperation(value="企业实名总数量接口",notes ="企业实名总数量接口说明")
    @GetMapping("/enterpriseAllData")
    public Result enterpriseAllData() {
        return  applicationService.enterpriseAllData();
    }
    @ApiOperation(value="个人实名总数量接口",notes ="个人实名总数量接口说明")
    @GetMapping("/individualAllDate")
    public Result individualAllDate() {
        return  applicationService.individualAllDate();
    }
    @ApiOperation(value="赛题报名总数据接口",notes ="赛题报名总数据接口说明")
    @GetMapping("/competitionAllDate")
    public Result competitionAllDate() {
        return  applicationService.competitionAllDate();
    }
    @ApiOperation(value="开发市场数据接口",notes ="开发市场数据接口说明")
    @GetMapping("/openMarketAllData")
    public Result openMarketAllData() {
        return  applicationService.openMarketAllData();
    }

    @ApiOperation(value="网站点击量接口",notes ="网站点击量接口说明")
    @GetMapping("/webClicks")
    public Result webClicks() {
        return  applicationService.webClicks();
    }

    @ApiOperation(value="添加网站点击量接口",notes ="添加网站点击量接口说明")
    @GetMapping("/addWebClicks")
    public Result addWebClicks() {
        return  applicationService.addWebClicks();
    }

    @ApiOperation(value="人工智能数据接口",notes ="人工智能数据接口客服说明")
    @GetMapping("/artificialIntelligence")
    public Result artificialIntelligence() {
        return  applicationService.artificialIntelligence();
    }


    @ApiOperation(value="通过短信注册的用户接口",notes ="通过短信注册的用户接口说明")
    @GetMapping("/smsRegistration")
    public Result smsRegistration() {
        return  applicationService.smsRegistration();
    }


    @ApiOperation(value="产品待审核数据接口",notes ="产品待审核数据接口说明")
    @GetMapping("/awaitReviewed")
    public Result awaitReviewed() {
        return  applicationService.awaitReviewed();
    }

    @ApiOperation(value="实名待审核接口",notes ="实名待审核接口说明")
    @GetMapping("/authenticationReviewed")
    public Result authenticationReviewed() {
        return  applicationService.authenticationReviewed();
    }

    @ApiOperation(value="用户区域地图数据接口",notes ="用户区域地图数据接口说明")
    @GetMapping("/userAreaMapData")
    public Result userAreaMapData() {
        return  applicationService.userAreaMapData();
    }


    @ApiOperation(value="地图明细",notes ="用户注册明细接口说明")
    @GetMapping("/userAreaMapData1")
    public  Result userAreaMapData1(){
        return  applicationService.userAreaMapData1();
    }
    @ApiOperation(value="企业注册明细接口",notes ="企业注册明细接口说明")
    @GetMapping("/entDetail")
    public  Result entDetail(){
        return  applicationService.entDetail();
    }
    @ApiOperation(value="个人注册明细接口",notes ="个人注册明细接口说明")
    @GetMapping("/individualDetail")
    public  Result individualDetail(){
        return  applicationService.individualDetail();
    }

    @ApiOperation(value="赛题明细接口",notes ="赛题明细接口说明")
    @GetMapping("/questionsDetail")
    public  Result questionsDetail(){
        return  applicationService.questionsDetail();
    }

    @ApiOperation(value="开放市场明细接口",notes ="开放市场明细接口说明")
    @GetMapping("/productDetail")
    public  Result ProductDetail(){
        return  applicationService.ProductDetail();
    }

    @ApiOperation(value="开放市场明细-通过省份查询接口",notes ="开放市场明细-通过省份查询说明")
    @GetMapping("/productDetailByProvince")
    public  Result productDetailByProvince(@RequestParam("province") String province){
        return  applicationService.productDetailByProvince(province);
    }
    @ApiOperation(value="开放市场明细-列表接口",notes ="开放市场明细-列表接口说明")
    @GetMapping("/productDetailShow")
    public  Result productDetailShow(){
        return  applicationService.productDetailShow();
    }

    @ApiOperation(value="通过短信注册明细接口",notes ="通过短信注册明细接口说明")
    @GetMapping("/smsDetail")
    public  Result smsDetail(){
        return  applicationService.smsDetail();
    }

    @ApiOperation(value="产品待审核总数接口",notes ="产品待审核总数接口说明")
    @GetMapping("/awaitReviewedDate")
    public Result awaitReviewedDate() {
        return  applicationService.awaitReviewedDate();
    }
    @ApiOperation(value="实名待审核总数接口",notes ="实名待审核总数接口说明")
    @GetMapping("/authenticationReviewedDate")
    public Result authenticationReviewedDate() {
        return  applicationService.authenticationReviewedDate();
    }


    @GetMapping("/test")
    public Result test() {
        return  applicationService.test();
    }

}
